var StatAssistant = function() {
}

StatAssistant.prototype.run = function(future) {
	var args = this.controller.args;
	if(!args.path) {
		setError(future, "parameter path must be a string");
	} else {
		path.exists(args.path, function(exists) {
			if(exists) {
				future.result = {
					stats:	fs.statSync(args.path)
				};
			} else {
				setError(future, "path does not exist");
			}
		});
	}
}
